package com.hnust.domain;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
/**
 * 预览试卷页面 选择题的内容
 */
public class ChoiceQuestion {
    private String type; //题目类型：1为判断题  2为选择题 3为填空题  4为简答题
    private String question; //题目内容
    private String rightAnswer; //正确答案
    private String answerA;//选项A
    private String answerB;//选项B
    private String answerC;//选项C
    private String answerD;//选项D
    private double score; //该题目分数---这个没有就不管他
    private String analyze; //答案解析

    public ChoiceQuestion(String type,String question,String rightAnswer,String answerA,String answerB,String answerC,String answerD,double score,String analyze){
        this.type=type;
        this.question=question;
        this.rightAnswer=rightAnswer;
        this.answerA=answerA;
        this.answerB=answerB;
        this.answerC=answerC;
        this.answerD=answerD;
        this.score=score;
        this.analyze=analyze;
    }
}
